import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
class Top extends StatefulWidget {
  @override
  _TopState createState() => _TopState();
}

class _TopState extends State<Top> {
  @override
  Widget build(BuildContext context) {
    return Container(
      height:51.w,
      decoration: BoxDecoration(
        color: Colors.grey[100]
      ),
      child: Row(
        mainAxisAlignment: MainAxisAlignment.spaceEvenly,
        children: [
          Expanded(
            child: Row(
              mainAxisAlignment: MainAxisAlignment.center,
              children: [
                Icon(Icons.check_circle_outline,size: 28.sp,color: Colors.black54,),
                SizedBox(width:5.w),
                Text('100%正品保证',style: TextStyle(
                  color: Colors.black54,
                  fontSize: 20.sp
                ),)
              ],
            ),
          ),
          Expanded(
            child: Row(
              mainAxisAlignment: MainAxisAlignment.center,
              children: [
                Icon(Icons.check_circle_outline,size: 28.sp,color: Colors.black54,),
                SizedBox(width:5.w),
                Text('所有商品精挑细选',style: TextStyle(
                    color: Colors.black54,
                    fontSize: 20.sp
                ),)
              ],
            ),
          ),
          Expanded(
            child: Row(
              mainAxisAlignment: MainAxisAlignment.center,
              children: [
                Icon(Icons.check_circle_outline,size: 28.sp,color: Colors.black54,),
                SizedBox(width:5.w),
                Text('售后无忧',style: TextStyle(
                    color: Colors.black54,
                    fontSize: 20.sp
                ),)
              ],
            ),
          ),
        ],
      ),
    );
  }
}
